package com.cloud.message.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 通知与角色关联表
 *
 * @author yzj
 * @since 2022-04-20
 */
@Data
@Schema(name = "SysNoticeRole对象", description = "系统管理")
@TableName("sys_notice_role")
public class SysNoticeRole {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "通知ID")
    private Long noticeId;

    @Schema(description = "角色ID")
    private Long roleId;

}
